package edu.object_oriented.poly;

public class Bus extends Car{
    //乘坐人数
    int count;

    void methodA(){
        System.out.println("载人");
    }

    @Override
    void say() {
        System.out.println(count + "---" + color);
    }

}
